package net.shopxx.service.impl;

import java.util.List;

import javax.annotation.Resource;

import net.shopxx.dao.OrderDao;
import net.shopxx.dao.ProduceOrderDao;
import net.shopxx.dao.PrologOrderDao;
import net.shopxx.entity.ProduceOrder;
import net.shopxx.entity.PrologOrder;
import net.shopxx.service.ProduceOrderService;
import net.shopxx.service.PrologOrderService;

import org.springframework.stereotype.Service;

/**
 * Service实现类 - 生产物流
 */

@Service
public class PrologOrderServiceImpl extends BaseServiceImpl<PrologOrder, String> implements PrologOrderService {

	@Resource
	private PrologOrderDao prologOrderDao;
	
	
	@Resource
	public void setBaseDao(PrologOrderDao prologorder) {
		super.setBaseDao(prologorder);
	}
	
	@Override
	public List getDeliveryLoadByDistrib() {
		return prologOrderDao.getDeliveryLoadByDistrib();
	}

	@Override
	public List getProduceLoadByDistrib() {
		return prologOrderDao.getProduceLoadByDistrib();
	}
	

}
